﻿<html>
<head>
	<link href="http://vjs.zencdn.net/5.5.3/video-js.css" rel="stylesheet">
	<!-- If you'd like to support IE8 -->
	<!--<script src="http://vjs.zencdn.net/ie8/1.1.1/videojs-ie8.min.js"></script>-->
	<script src="__PUBLIC__/Common/static/sewise-player/sewise.player.min.js"></script>
</head>
<body>

<h1>如果上面的rtmp流无法播放，就播放hls流</h1>
<video id="my-video" class="video-js" controls preload="auto" width="640" height="264"
	   poster="https://img.alicdn.com/imgextra/i2/754328530/TB2FpxhkXXXXXa5XXXXXXXXXXXX_!!754328530.jpg" data-setup="{}">
	<source src="rtmp://live.hkstv.hk.lxdns.com/live/hks2312" type="rtmp/flv">
	<!-- 如果上面的rtmp流无法播放，就播放hls流 -->
	<source src="http://testlive.amaitech.com/live/4001492482743.m3u8?auth_key=1492483430-0-0-febf3b589341030d7befe189b63fd7cf" type='application/x-mpegURL'>
	<p class="vjs-no-js">
		To view this video please enable JavaScript, and consider upgrading to a web browser that
		<a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>
	</p>
</video>

<script src="http://vjs.zencdn.net/5.5.3/video.js"></script>
</body>
</html>